package main
/*
#include<stdlib.h> //导入 stdlib.h 文件头以使用 C.free 方法
*/
import "C"
import (
	"unsafe"
)

func main(){
}

//export Check
func Check(i1 int,i2 int) bool {
	return i1 > i2
}
//export GetSlogan
func GetSlogan(name *C.char) *C.char {
	goName := C.GoString(name)
	goSlogan := "天佑中华，" + goName + "，让我们一起为武汉加油！"
	return C.CString(goSlogan)
}
//export Free
func Free(p unsafe.Pointer) {
	C.free(p)
}